<cfsetting enablecfoutputonly="true" />
<!------------------------------------------------------------------------
 THIS FILE ONLY GETS RUN ON THE INITIALIZATION OF THE PROJECT
 - note runs AFTER ./project/config/_serverSpecifcVars.cfm
 ------------------------------------------------------------------------>
 
<cfparam name="application.stplugins.jcPodcast" default="#structNew()#" type="struct" />
<cfparam name="application.stplugins.jcPodcast.url" default="#structNew()#" type="struct" />

<!--- You can override these settings in your project's _serverSpecificVars.cfm --->
<cfif NOT structkeyExists(application.stplugins.jcPodcast, "bLoadPluginCssFile")>
  <cfset application.stplugins.jcPodcast.bLoadPluginCssFile = true />
</cfif>
<cfif NOT structkeyExists(application.stplugins.jcPodcast, "bLoadJsFile")>
  <cfset application.stplugins.jcPodcast.bLoadJsFile = true />
</cfif>
<cfif NOT structkeyExists(application.stplugins.jcPodcast.url, "pluginroot")>
  <cfset application.stplugins.jcPodcast.url.pluginroot = application.url.webroot & "/jcPodcast" />
</cfif>
<cfif NOT structkeyExists(application.stplugins.jcPodcast.url, "expressinstall")>
  <cfset application.stplugins.jcPodcast.url.expressinstall = application.stplugins.jcPodcast.url.pluginroot & "/includes/expressinstall.swf" />
</cfif>

<!--- intitialize objects --->
<cfset application.stplugins.jcPodcast.oJcPodcastEpisode = createObject("component", "farcry.plugins.jcPodcast.packages.types.jcPodcastEpisode").init() />
<cfset application.stplugins.jcPodcast.oCustomFunctions = createObject("component", "farcry.plugins.jcPodcast.packages.custom.customFunctions").init() />

<cfsetting enablecfoutputonly="false" />